Repository navigation
Conversation
…xecutor Move local CPU execution, trials, leases, generation bindings and candidate evidence into Executor. Migrate the public callers and Apps wiring, keep cleanup through the injected supervisor, and verify the retired imports and retained sessions. Signed-off-by: dongxinwen <[email protected]> Agent-assisted-by: Codex (author) Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (author) Signed-off-by: dongxinwen <[email protected]>
|
Codex 代表 @Dong1017 请求复核 P6 当前提交 @david6666666 请核对 Executor 的四个 prepared-binding 包层入口以及 retained candidate 变化时的拒绝路径。重点是旧 RunStore 固定版本的读取、异常类型身份和冷导入 @zengchuang-hw 请核对本地 target、进程组清理、同一 attempt 重放及普通会话的 53 份静态指纹。两个恢复入口分别在自己的检查点副本上仅补 |
Skill evaluationPLANNED: not executed; there are no task outcomes yet.
Author verification steps (nonpaid; not yet run)
Evidence and logs · Retention: 30 days. Plan bindings, budget, frozen exam and advisory detailsAdvisory: obtain missing evidenceRetained evidence availability: planned / unexecuted. No approval or merge authorization is issued.
Model/settings:
Automatic execution / cumulative PR budget: {"reason":"Trusted configuration or pricing missing, invalid or expired","remaining_usd":"unknown","reserved_or_unresolved_usd":"unknown","spent_or_legacy_usd":"unknown","state":"blocked"}Provider/settings: Uncovered / unsupported paths (134)
|
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).
Dong-bot (authorized delegate) PTAL on head a22636c51cd9eb2d2b143c0716fd3ab57aa3f608, base 1c5e9d40de9b56f29a01d27b7f329245b56599b7. This is a self-review (PR author is Dong1017), so this COMMENT is not an independent approval.
Blockers
- Incomplete diff seed.
pr/meta.jsonhasdiffComplete: false, so the seeded diff does not show the whole change.pr/diff.patchis a single ~151 KB line that I could not page here, so I did not review the patch text line by line. Under the review policy this cannot PASS. Needed: a complete diff for this head, or a complete per-file review of the part that is missing. - No independent approval on this head.
pr/prior-reviews.mdlists no formal review ona22636c5. The thread asks @david6666666 (prepared-binding entries, retained-candidate rejection, cold import ofrequest_digest) and @zengchuang-hw (local target, process-group cleanup, same-attempt replay, 53 static fingerprints) to review. Neither has posted. Merge needs two eligible approvals from accounts that are not the author or accountable parent. - CI and baseline not in evidence. The PR body says Linux full-suite and installed results "will be recorded by this PR's CI". The seed has no check results. The Windows delivery/Skill Eval group shows 15 failures (151 pass, 5 skip). The body says the same 15 fail on the pre-migration tree (10 symlink-privilege, 5 LF fixture). That baseline is the author's claim and I did not verify it.
- Skill evaluation plan not executed. Plan
56abeee3e3481889c60f26104548fabd2f2e09e0e883c2bc12b48e55f26bdb15is planned/unexecuted: 0 comparisons, budget state blocked, 133 uncovered paths with no reviewer disposition. The uncovered scope needs an explicit disposition for each claim (verified, refuted or unverified).
What I checked at head a22636c5
src/inferrsi/harness/executor/__init__.pylines 18-31:LocalCpuTarget,prepare_generation,read_prepared_binding,project_prepared_bindingandverify_prepared_bindingare exposed lazily through__getattr__, matching the body's import line. Lines 55-57 definerequest_digestwith onlyhashlib,os,sys,importlib.resourcesandjson_v1loaded at module top. The parent packages'__init__.pyfiles were not read, so the cold-import claim is only partly checked.src/inferrsi/harness/api/__init__.pylines 1-19:LocalCpuTargetis no longer exported fromapi, andHarnessstays lazily loaded. This matches the body's removal of the legacyapi.LocalCpuTarget.- The harness root no longer contains
local_process,launch_records,device_lease,candidates,confinement,artifact_sandboxorskill_evaluation. They now live underexecutor/.attempt_recovery.pyis still at the root, and the body does not list it as migrated. The author should say whether it is in scope.
Not verified here
- The diff contents (see blocker 1).
- Governing issue #702 and its accepted scope. The issue read overflowed and could not be opened in full. The gating in decision #702 (the records export mechanism and a leaf errors module) is therefore not confirmed. The errors module likely sits at
src/inferrsi/contracts/_harness_errors.py(imported atharness/api/__init__.pyline 3), which I did not open. - Wheel and source SHA-256 values, receipt digests, the 469/75/107 check counts and the 93/7 test counts. Nothing was re-run.
- No tests were run.
Next step
The author should restore a complete diff, post the Linux CI results, show the Windows baseline, and give the uncovered-path disposition. The two named reviewers should post formal reviews on the head. Dong-bot will re-read after the author pushes.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
|
Codex 代表 @Dong1017 补充
|
Require the exact Records import graph after the Harness root Verdict alias was removed. A future eager import of contracts.claim now fails the check. Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (author) Signed-off-by: dongxinwen <[email protected]>
|
Codex 代表 @Dong1017,请 @david6666666 和 @zengchuang-hw 复核当前提交 David 请看 Records 的冷导入边界、准备候选的四个公开入口与 D023。Zeng 请看真实 CPU 启动、超时清理、重复请求,以及普通会话补跑 |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).
Reviewed base 1c5e9d40de9b56f29a01d27b7f329245b56599b7 and head 998eece06d560849af81003645d60e30d9d7c2d9 (full PR, P6, not an incremental range; the earlier DO NOT PASS on a22636c5 remains the reference for prior blockers). This is a self-review: the PR author is Dong1017, so this COMMENT is not an independent approval and does not count toward the two required approvals.
Blockers
- The diff is incomplete for this head.
pr/meta.jsonhasdiffComplete: false.pr/diff.patchis a single ~151 KB line and I could not page through it in this session, so I did not review the 133-path change line by line. Under the review policy this cannot PASS. Needed: a complete diff for998eece06d560849af81003645d60e30d9d7c2d9, or a per-file review of the paths the seed does not show. - No independent review on this head.
pr/prior-reviews.mdlists no formal review on998eece0. The 21:14Z request asks @david6666666 (Records cold import, the four prepared-candidate entries, D023) and @zengchuang-hw (real CPU launch, timeout cleanup, same-attempt replay, the ordinary-sessionassessrecovery) to review it. Neither has posted. Merge needs two eligible approvals from accounts that are not the author or accountable parent. - CI and the Windows baseline are not in the evidence. The PR body cites the Linux installed-package jobs and CI run
45896058133. The seed contains no check results for998eece0, so I have not verified those jobs. The Windows delivery/Skill Eval group still shows 15 failures (151 pass, 5 skip). The body says they match the pre-migration failure set by SHA-25620cf34f5…a46f; I have not recomputed that digest and the per-test JUnit files are not in the seed. - Skill Eval scope needs a reviewer disposition. The planned evaluation (
pr/thread.md, comment 7202997219) is planned and unexecuted, selects 0 comparisons, and lists 134 uncovered or unsupported paths. The plan itself says uncovered scope needs a case or an explicit reviewer disposition. No disposition has been recorded. The claims in the PR body (real CPU launch and cleanup, tampered-candidate rejection, same-attempt replay, installed-API and light-import behaviour, 53 static fingerprints) are backed by receipts that I have not reproduced.
What I checked at 998eece0 (seed-independent)
src/inferrsi/harness/api/__init__.py(lines 1-19) exports onlyPUBLIC_ERROR_CODES,Harness,PartialExecutionFactsandPublicError.LocalCpuTargetis not exported, which matches the claimed removal ofapi.LocalCpuTarget.src/inferrsi/harness/__init__.pyis a docstring only. RootVerdict/parse_verdictare not exported there, which matches the claimed removal.src/inferrsi/harness/executor/__init__.py(lines 1-57) resolvesLocalCpuTarget,prepare_generationand the three prepared-binding functions lazily through__getattr__.request_digest(line 55) is defined inline and needs onlyhashlibandinferrsi.contracts.json_v1at import. That is consistent with the cold-import claim.- Transitive imports for that cold path are only partly checked.
inferrsi/__init__.pyimports_version, andcontracts/__init__.pyimportsRunSpecfromrunspec.py, whose top-level imports (lines 1-30) are stdlib only. I did not trace the rest ofrunspec.pyorjson_v1.pylines 31-153. src/inferrsi/harness/executor/_target.py(lines 1-48) importsharness.records._run_storeat module top, so loadingLocalCpuTargetpulls RunStore in. That is consistent with it being outside the coldrequest_digestpath.src/inferrsi/harness/attempt_recovery.py(lines 1-80) remains underharness/and callsexecutor.launch_records.observe, consistent with the note that P6 only updates its Executor calls and P9 moves recovery settlement to Manager. The 42 AST-identical definitions in the candidate, confinement, Skill Eval and sandbox modules are not verified here.
Not verified here
- The full diff for
998eece0(blocker 1). - Any test, CI or installed-wheel result for
998eece0. I did not run tests. - The wheel and source-archive SHA-256 values in the PR body.
- The Skill Eval receipts and the uncovered-path disposition.
What would clear this
A complete diff for 998eece0, or a per-file review of the missing paths. Current-head check results for the Linux installed jobs and the Windows failure set. A recorded reviewer disposition for the 134 Skill Eval uncovered paths. Then two independent approvals from eligible reviewers. A push of new commits will be re-read after the author pushes; if the head changes, the next review will be scoped to the new head.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
Governing Issue and delivery slice
Refs #702
Codex, acting for @Dong1017, submits P6. Its dependencies P2 (#722) and P5 (#727) have merged. The implementation is based on
1c5e9d40. The second commit updates one RunStore import-dependency assertion. The public imports, old-package baseline, and target behavior follow the accepted scope and pre-migration CPU runs.Anchors touched: none. The architecture guide updates four implementation path references. The layer, execution, cleanup and evidentiary contracts retain their existing definitions.
Public API and implementation
from inferrsi.harness.executor import LocalCpuTarget, prepare_generation, read_prepared_binding, project_prepared_binding, verify_prepared_binding. The existingHarnessfacade continues to live underinferrsi.harness.api. Executor exposes its target lazily. Importing onlyrequest_digeststarts with neither SQLite, RunStore nor the execution implementation loaded.api.LocalCpuTarget, rootharness.Verdict/harness.parse_verdict, and the old module paths. The 42 existing definitions in the four candidate/confinement/Skill Eval/sandbox modules retain identical ASTs. P7 owns ordinary workflow dispatch, P8 service lifecycle and P9 session integration.Acceptance on the submitted commit
Normal wheel
inferrsi-0.3.5.dev12+g998eece0-py3-none-any.whlhas SHA-2561acd1ef7ad33bb131a3ac7c364b08a40b7ec46d1c7ac6b7506666229ef1850e7. Source archive SHA-256f9986ca264326f8da84d62d408c5ab296689d4a835eeeb8fa1fe41cd26cd0420. Tested from outside the checkout.RequestConflict. A changed bound candidate was rejected before launch. A real timed-out child returned confirmed termination, process exit and an empty process domain. Replaying preserved the original record.62ce11e6d458b5c581245d0988189e1bd834f2ed1e1880d15242faf70c5b6fe9. The 2,690-byte prepared document, bound projection, error class/codes and D023 failure vectors matched. Installed preparation/bounds suite 93 passed, retained-source/replay/cleanup cases 7 passed.argumentsandbenchmarkchildren ran before a controlled interruption.benchmarks session recoverandcampaign recovereach ran only the missingassesson its own copy. Eightstatus/recovercalls across the two frozen sessions rejected the changed fingerprint with zero child starts and byte-identical files.Receipt SHA-256 for the CPU/API probe
0d47497a16ef3ec7060444333a9523c3798fa88f5d08e85f67ab6fb586c78372, prepared API comparisona39c61f435362cc8f25a5318b32a0cfd9e8db6a7a2d3d33df58c325d3add9932, and ordinary fingerprint/replays41b6c7033d9fbae2d9eb7de0040cae4eabbf534eb044fffb6385466bbd643138. Pre-integration receipts and detailed inventoryChecks and dependencies
ruff check src tests toolsandgit diff --checkpassed. The initial implementation tree08999e8fda336eac725c3d023344fa2fd79bc3cdalso passed 469 architecture checks, 75 caller checks and 107 trial tests (61 platform skips). The delivery/Skill Eval group on Windows had 151 pass, five skips and 15 failures. The same 15 tests failed on the pre-migration tree: ten require Windows symlink privileges and five depend on LF fixture bytes. The first Linux full run found one outdated assertion requiring RunStore to import the former root Verdict. The revised test starts a clean interpreter and compares the complete set of imported InferRSI modules against the allowed set. The RunStore suite on the revision passed 49 tests with one platform skip. Both Linux installed-package jobs passed on the revision. Original failing assertionAt submission #699 and #709 were open. #699 shares six paths including project/session imports and tests. #709 shares nine, including the optimization and session modules, installed check and CLI migration docs. The scope and ownership of those PRs remain as recorded on their own Issues.
Knowledge authorship declaration
Remaining Issue work
P6 is ready for independent review. P7–P9 and the final installed
mainacceptance remain under #702. The accepted closure owner is @Dong1017.